package com.soledroid.Model;

public class Canteen {
	public static final String IMAGE_PATH = "http://soledroid.huytoan.com/images/canteens/";
	
	protected int id;
	protected String name;
	protected String image;
	protected String description;
	protected String latitude;
	protected String longitude;
	protected int noOfStalls;
	
	public Canteen(int id, String name, String image, String description, String latitude, String longitude, int noOfStalls){
		super();
		this.id = id;
		this.name = name;
		this.image = IMAGE_PATH + image;
		this.description = description;
		this.latitude = latitude;
		this.longitude = longitude;
		this.noOfStalls = noOfStalls;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getLatitude() {
		return latitude;
	}

	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}

	public String getLongitude() {
		return longitude;
	}

	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}
	
	
	public int getNoOfStalls() {
		return noOfStalls;
	}

	public void setNoOfStalls(int noOfStalls) {
		this.noOfStalls = noOfStalls;
	}

	public String toString(){
		return name;
	}
}
